package com.itheima.day13.thread.test9;

public class TestMyRubbale {
    public static void main(String[] args) {
        TicketMyRubbale ticket = new TicketMyRubbale();

        Thread t1 = new Thread(ticket);
        Thread t2 = new Thread(ticket);
        Thread t3 = new Thread(ticket);

        t1.setName("一号窗口");
        t2.setName("二号窗口");
        t3.setName("三号窗口");

        t2.start();
        t3.start();
        t1.start();

    }
}
